package com.ezonsport.android.ui;

import com.ezonsport.android.R;

import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.view.View;
import android.widget.TableRow;

public class AboutActivity extends Activity{
	/** Called when the activity is first created. */
  
    
    private TableRow mRowSoftware;
	private TableRow mRowHardware;
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.about);
        
        mRowSoftware = (TableRow)findViewById(R.id.about_software);
        mRowHardware = (TableRow)findViewById(R.id.about_hardware);
        
        mRowSoftware.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				mRowSoftware.setBackgroundColor(Color.rgb(94,157,255));
				mRowHardware.setBackgroundColor(Color.WHITE);
			}
        });
        
        mRowHardware.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				mRowHardware.setBackgroundColor(Color.rgb(94,157,255));
				mRowSoftware.setBackgroundColor(Color.WHITE);
			}
        });
    }
}
